package com.icehand.axon.demo.command.commands;

import com.icehand.axon.demo.common.domain.AccountId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author icehand
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CreateAccountCommand {
    private AccountId accountId;
    private String accountName;
    private BigDecimal amount;
}
